<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet"  type="text/css" href="05.css"/>
		<script type="text/javascript" src="flexible.js"></script>
	</head>
	<body>
		<div class="container">
			<div class="top">
				<a href="javascript:history.go(-1)"></a>
				<p>登录</p>
			</div>
			
			
			
			<form action="">
				<div class="input-group">
					<span>当前余额：</span>
					<input type="number" placeholder="90.00" />
				</div>
				<div class="input-group">
					<span>提现金额：</span>
					<input type="number" placeholder="请输入提现的金额" />
				</div>
				<div class="input-group">
					<p>
						<label for="wx">提现到微信红包</label>
						<input type="radio" id="wx" checked="checked" name="tixian" />
					</p>
					<p>
						<label for="yhk">提现到银行卡</label>
						<input type="radio" id="yhk"  name="tixian" />
					</p>
				</div>
			</form>
			<div class="chongzhi">
				<p>
					<span id="aaa">充值记录</span>
					<span>忘记密码</span>
				</p>
			</div>
			<div class="submit">
				<button  id="submit1">确定</button>
			</div>
		</div>
		<center id="zhezhao">
			<div id="password">
				<p>请输入钱包密码</p>
				<input type="password" />
				<span>输入错误，请重新输入</span>
			</div>
		</center>
		
		<script type="text/javascript">
			var back = document.getElementById("back");
			var submit1 = document.getElementById("submit1");
			var zhezhao = document.getElementById("zhezhao");
			back.addEventListener("touchstart",function(){
				window.history.go(-1);
			})
			submit1.addEventListener("touchstart",function(event){
				this.style.background = "#e8201e";
				zhezhao.style.display = "block";
			})
			submit1.addEventListener("touchend",function(event){
				this.style.background = "#f23a38";
			})
			
			zhezhao.addEventListener("touchstart",function(event){
				event.stopPropagation();
				if(event.target.nodeName.toLowerCase() == "center"){
				zhezhao.style.display = "none";
				}
			})
			
//			var aaa = document.getElementById("aaa");
//			aaa.addEventListener("touchstart",function(){
//				alert("nihao");
//			})
		</script>
	</body>
</html>
